package com.asktgapp.model;

import java.util.ArrayList;
import java.util.List;

public class NewHomeOneBean{

    private List<ProjectUserPicBean> projectUserPic;
    private List<BannerListBean> bannerList;
    private List<QuestionListBean> questionList;
    private List<NewsPaperBean> newsPaper;

    private String problemDictionary;
    private String shopDictionary;

    public String getProblemDictionary() {
        return problemDictionary == null ? "" : problemDictionary;
    }

    public void setProblemDictionary(String problemDictionary) {
        this.problemDictionary = problemDictionary;
    }

    public String getShopDictionary() {
        return shopDictionary == null ? "" : shopDictionary;
    }

    public void setShopDictionary(String shopDictionary) {
        this.shopDictionary = shopDictionary;
    }

    public List<NewsPaperBean> getNewsPaper() {
        return newsPaper==null?new ArrayList<NewsPaperBean>():newsPaper;
    }

    public void setNewsPaper(List<NewsPaperBean> newsPaper) {
        this.newsPaper = newsPaper;
    }

    public List<ProjectUserPicBean> getProjectUserPic() {
        return projectUserPic==null?new ArrayList<ProjectUserPicBean>():projectUserPic;
    }

    public void setProjectUserPic(List<ProjectUserPicBean> projectUserPic) {
        this.projectUserPic = projectUserPic;
    }

    public List<BannerListBean> getBannerList() {
        return bannerList==null?new ArrayList<BannerListBean>():bannerList;
    }

    public void setBannerList(List<BannerListBean> bannerList) {
        this.bannerList = bannerList;
    }

    public List<QuestionListBean> getQuestionList() {
        return questionList==null?new ArrayList<QuestionListBean>():questionList;
    }

    public void setQuestionList(List<QuestionListBean> questionList) {
        this.questionList = questionList;
    }

    public static class NewsPaperBean{
        private String createtime;
        private String id;
        private String content;
        private String  ref_type;
        private String  ref_id;

        public String getRef_type() {
            return ref_type == null ? "" : ref_type;
        }

        public void setRef_type(String ref_type) {
            this.ref_type = ref_type;
        }

        public String getRef_id() {
            return ref_id == null ? "" : ref_id;
        }

        public void setRef_id(String ref_id) {
            this.ref_id = ref_id;
        }

        public String getCreatetime() {
            return createtime == null ? "" : createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContent() {
            return content == null ? "" : content;
        }

        public void setContent(String content) {
            this.content = content;
        }
    }
    public static class ProjectUserPicBean {
        /**
         * userPic : http://62.234.104.51:8080/jiangong/downloadFile.do?id=4ec2f84e-aca4-4b11-8150-a301c0204177
         * userId : 8321
         */

        private String userPic;
        private int userId;

        public String getUserPic() {
            return userPic == null ? "" : userPic;
        }

        public void setUserPic(String userPic) {
            this.userPic = userPic;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }

    public static class BannerListBean {
        /**
         * id : 72
         * title : 1231231231
         * type : 4
         * pic : http://62.234.104.51:8080/jiangong/downloadFile.do?id=1ae1f74c-2055-4266-aecf-621e5ef16750
         * isHomepage : 1
         * addTime : 2018.10.29 10:14:56
         * status : 1
         * skipType : 3
         * path :
         */

        private int id;
        private String title;
        private int type;
        private String pic;
        private int isHomepage;
        private String addTime;
        private int status;
        private int skipType;
        private String path;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title == null ? "" : title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getPic() {
            return pic == null ? "" : pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public int getIsHomepage() {
            return isHomepage;
        }

        public void setIsHomepage(int isHomepage) {
            this.isHomepage = isHomepage;
        }

        public String getAddTime() {
            return addTime == null ? "" : addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSkipType() {
            return skipType;
        }

        public void setSkipType(int skipType) {
            this.skipType = skipType;
        }

        public String getPath() {
            return path == null ? "" : path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }

    public static class QuestionListBean {
        /**
         * addTime : 2018.11.16 16:56:46
         * aRealName : 这个是真实姓名
         * aUserId : 21365
         * qId : 5583
         * aLabel :
         * aUserName : 这个是真实姓名
         * qUserPic : http://62.234.104.51:8080/jiangong/downloadFile.do?id=74561d11-370a-454d-b8f1-114fdb468ee5
         * answerNum : 3
         * aContent : 不对不对回到家
         * aUserPic : http://62.234.104.51:8080/jiangong/downloadFile.do?id=40ae1828-4423-4fbe-b224-47f581f30997
         * qContent : 八点半等不到你非男非女放哪
         * qUersName : 小松鼠
         * aId : 5549
         * likeNumber : 0
         * isAnswer : 1
         * problemPic : 9a95173a-43f0-4a66-b100-316cfc65c9a9,3f1cf83f-98c6-43d9-92a8-442ccd89c2a4,c037df83-0fb7-4595-8449-ba1c6fa15712
         */

        private String addTime;
        private String aRealName;
        private int aUserId;
        private int qId;
        private String aLabel;
        private String aUserName;
        private String qUserPic;
        private int answerNum;
        private String aContent;
        private String aUserPic;
        private String qContent;
        private String qUersName;
        private int aId;
        private int likeNumber;
        private int isAnswer;
        private String problemPic;

        public String getAddTime() {
            return addTime == null ? "" : addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getaRealName() {
            return aRealName == null ? "" : aRealName;
        }

        public void setaRealName(String aRealName) {
            this.aRealName = aRealName;
        }

        public int getaUserId() {
            return aUserId;
        }

        public void setaUserId(int aUserId) {
            this.aUserId = aUserId;
        }

        public int getqId() {
            return qId;
        }

        public void setqId(int qId) {
            this.qId = qId;
        }

        public String getaLabel() {
            return aLabel == null ? "工程师" : aLabel;
        }

        public void setaLabel(String aLabel) {
            this.aLabel = aLabel;
        }

        public String getaUserName() {
            return aUserName == null ? "" : aUserName;
        }

        public void setaUserName(String aUserName) {
            this.aUserName = aUserName;
        }

        public String getqUserPic() {
            return qUserPic == null ? "" : qUserPic;
        }

        public void setqUserPic(String qUserPic) {
            this.qUserPic = qUserPic;
        }

        public int getAnswerNum() {
            return answerNum;
        }

        public void setAnswerNum(int answerNum) {
            this.answerNum = answerNum;
        }

        public String getaContent() {
            return aContent == null ? "" : aContent;
        }

        public void setaContent(String aContent) {
            this.aContent = aContent;
        }

        public String getaUserPic() {
            return aUserPic == null ? "" : aUserPic;
        }

        public void setaUserPic(String aUserPic) {
            this.aUserPic = aUserPic;
        }

        public String getqContent() {
            return qContent == null ? "" : qContent;
        }

        public void setqContent(String qContent) {
            this.qContent = qContent;
        }

        public String getqUersName() {
            return qUersName == null ? "" : qUersName;
        }

        public void setqUersName(String qUersName) {
            this.qUersName = qUersName;
        }

        public int getaId() {
            return aId;
        }

        public void setaId(int aId) {
            this.aId = aId;
        }

        public int getLikeNumber() {
            return likeNumber;
        }

        public void setLikeNumber(int likeNumber) {
            this.likeNumber = likeNumber;
        }

        public int getIsAnswer() {
            return isAnswer;
        }

        public void setIsAnswer(int isAnswer) {
            this.isAnswer = isAnswer;
        }

        public String getProblemPic() {
            return problemPic == null ? "" : problemPic;
        }

        public void setProblemPic(String problemPic) {
            this.problemPic = problemPic;
        }
    }
}
